<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <a href="javascript: alert('你好，我是JS代码生成的内容');">执行js代码</a>

    <a href="mailto: abcsdf@qq.com">给我发送邮件（abcsdf@qq.com）</a>

    <a href="tel: 40000000000">拨打免费热线</a>
</body>
</html>